import Home from "../views/Home";
import About from "../views/About";
import App from "../App"

import { Route,Routes,BrowserRouter } from "react-router-dom";
const baseRouter = ()=>(
    <BrowserRouter>
        <Routes>
            <Route path="/" element={<App></App>}>
                <Route path="/home" element={<Home />}></Route>
                <Route path="/about" element={<About />}></Route>
            </Route>
        </Routes>
    </BrowserRouter>
)

export default baseRouter;